net.minecraft.src.customstuff.files
Class SmeltingRecipes

java.lang.Object
  extended by net.minecraft.src.customstuff.files.SmeltingRecipes

public class SmeltingRecipes
extends java.lang.Object


Constructor Summary
SmeltingRecipes()
           
 
Method Summary
 void addRecipe(java.lang.String input)
          Adds a smelt recipe
 void addRecipe(java.lang.String input, java.lang.String furnacename)
          Adds a smelt recipe for a specific furnace
static void LoadRecipes(java.lang.String dirPath)
          DO NOT USE THIS!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmeltingRecipes

public SmeltingRecipes()
Method Detail

LoadRecipes

public static void LoadRecipes(java.lang.String dirPath)
                        throws java.lang.NumberFormatException,
                               java.io.IOException,
                               javax.script.ScriptException
DO NOT USE THIS!

Throws:
java.lang.NumberFormatException
java.io.IOException
javax.script.ScriptException

addRecipe

public void addRecipe(java.lang.String input)
               throws net.minecraft.src.customstuff.CustomStuffException
Adds a smelt recipe

Parameters:
input - The smelt recipe
Throws:
net.minecraft.src.customstuff.CustomStuffException

addRecipe

public void addRecipe(java.lang.String input,
                      java.lang.String furnacename)
               throws net.minecraft.src.customstuff.CustomStuffException
Adds a smelt recipe for a specific furnace

Parameters:
input - The smelt recipe
furnacename - The name of the furnace container
Throws:
net.minecraft.src.customstuff.CustomStuffException